<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			.aaa{
				width: 100px;
				height: 100px;
				/*background: -moz-linear-gradient(left, #000000 0%, #ffffff 100%);
			    background: -webkit-linear-gradient(left, #000000 0%,#ffffff 100%);
			    background: -o-linear-gradient(left, #000000 0%,#ffffff 100%);
			    background: -ms-linear-gradient(left, #000000 0%,#ffffff 100%);*/
			    background: linear-gradient( to left top, #000000 0%, #fe700d 50%, #FF0000 70%, #ffffff 100%);
			}
			
			.text{
				background: #ccc;
			}
			.text span {
				font-size: 60px;
				background-color: #ccc;
				background-image: linear-gradient(45deg, blue, red);
				background-clip:text;
				-webkit-background-clip:text;
				color: transparent;
			}
		</style>
	</head>
	<body>
		<p>貌似只能用#cccccc样式</p>
		<p>以 黑100% 为标准，距离黑色30%的位置 橘黄色， 距离黑色70%位置 红色</p>
		<div class="aaa"></div>
		
		<div class="text">
			<span>文字渐变色</span>
		</div>
	</body>
</html>
